//
//  CYMyFollow_TuiJianGuanZhuCollectionViewCell.m
//  cyydt
//
//  Created by chu on 2019/1/26.
//  Copyright © 2019 chu. All rights reserved.
//

#import "CYMyFollow_TuiJianGuanZhuCollectionViewCell.h"

@implementation CYMyFollow_TuiJianGuanZhuCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.headImageView.layer.cornerRadius = self.headImageView.frame.size.height / 2;
    self.headImageView.layer.masksToBounds = YES;
}

- (void)setModel:(CYProjectModel *)model{
    _model = model;
    
    [self.headImageView sd_setImageWithURL:[NSURL URLWithString:model.avatar] placeholderImage:[UIImage imageWithColor:[UIColor lightGrayColor] Size:self.headImageView.frame.size]];
    self.titleLabel.text = model.nickName;
    
}

@end
